cmake_minimum_required(VERSION 3.0.2)
project(video_fuse)

set(CMAKE_CXX_STANDARD 11)

find_package(catkin REQUIRED COMPONENTS
  custom_msg
  commons
  cv_bridge
  image_transport
  message_filters
  roscpp
  std_msgs
)

# opencv
find_package(OpenCV 4 REQUIRED)
include_directories(
  include
  ${OpenCV_INCLUDE_DIRS}
)
MESSAGE(${OpenCV_INCLUDE_DIRS})

# glog
find_package(glog REQUIRED)
# debug
if (CMAKE_BUILD_TYPE STREQUAL Debug)
    add_definitions(-D_DEBUG)
endif()

# ros
catkin_package()
include_directories(
  ${catkin_INCLUDE_DIRS}
)

# add_executable(video_fuse src/video_fuse.cc)
# target_link_libraries(video_fuse ${catkin_LIBRARIES} ${OpenCV_LIBS} glog::glog)

add_executable(ai_video_send src/ai_video_send.cc)
target_link_libraries(ai_video_send ${catkin_LIBRARIES} ${OpenCV_LIBS} glog::glog)


